coordsplotplot.igraph.
In igraph a vertex shape is defined by a function that 1) provides
information about the size of the shape for clipping the edges and 2)
plots the shape if requested. These functions are called Shape functions have a modeclipplot
In clipping mode a shape function has the following arguments:
el argument.}
coords.}
clipvertexedgeplotbothfromtofromel edge list, tobothigraph.plotting, plot.igraphg <- graph.ring(10, dir=TRUE, mut=TRUE)
plot(g, vertex.shape="rectangle", layout=layout.circle)Run the code above in your browser using DataLab